#include <stdio.h>
#define MAXVAL 100

int
main(void)
{
	int T; /* 1 <= T <= 100 */
	int freq[MAXVAL];
	int n; /* max: 10 ** 5 */
	register int i = 0;

	(void) freopen("counting.in", "r", stdin);
	(void) freopen("counting.out", "w", stdout);

	while (i < MAXVAL)
		freq[i++] = 0;

	(void) scanf("%d\n", &n);
	i = 0;
	while (i<n) {
		(void) scanf("%d", &T);
		++freq[T-1];
		++i;
	}

	for (i = 0 ; i < MAXVAL ; ++i) {
		while (freq[i] > 0) {
			printf("%d ", i+1);
			--freq[i];
		}
	}
	putchar('\n');
	return 0;
}
